<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    

<script>

function Human(n){
    this.name = n;
}
// Human.prototype = {constructor: Human} 原型对象的默认值
Human.prototype.say = function (){
    console.log( 'hi' )
}
var zhangsan = new Human('张三');
console.log( zhangsan.constructor );// Human
console.log( Human.prototype.constructor );// Human

console.log( Human.constructor );// Function

</script>
</body>
</html>